package qingke.mybatis.pojo;

public class UserLogin {
	private Integer userId;

	private String username;

	private String password;

	private boolean canuse;
	
	public UserLogin(String username, String password) {
		this.username = username;
		this.password = password;
	}

	public UserLogin() {

	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username == null ? null : username.trim();
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password == null ? null : password.trim();
	}

	
	
	public boolean isCanuse() {
		return canuse;
	}

	public void setCanuse(boolean canuse) {
		this.canuse = canuse;
	}

	@Override
	public String toString() {
		return "UserLogin [userId=" + userId + ", username=" + username + ", password=" + password + "]";
	}

}